﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AMInstantMessagingServerAPI
{
    public class TokenFuncHelper
    {
        /// <summary>
        /// 解析Token
        /// </summary>
        /// <returns></returns>
        public static Func<string, long> GetTokenAnalysisFunc()
        {
            return (token) => { return 1; };
        }

        /// <summary>
        /// 生成Token
        /// </summary>
        /// <returns></returns>
        public static Func<long, string> GetTokenGenerateFunc()
        {
            return (id) => { return string.Empty; };
        }
    }
}
